{{define "error"}}
<div class="wrapper">
    <div class="row sign-in-row">
    <div class="col-xs-15 col-md-8 col-lg-8 notication-col center-block">
       <div class="well well-notification  orange-notification">{{if .RateLimited}}
                        Rate Limited
                {{end}}
                {{if not .RateLimited}}
                        {{if eq .RPCStatus "Running"}}Temporary{{end}} Error
                {{end}}</div>
    </div>
    <div class="col-sm-15 col-md-6 text-left sign-in-col center-block">
    <h1>We could not process your request</h1>
	{{if .RateLimited}}
            <p>Your request has been rate limited to lighten the load on the servers.
            {{if .Referer}}<a href="{{ .Referer }}">{{end}}Please re-try your request.{{if .Referer}}</a>{{end}}</p>
        {{end}}
        {{if not .RateLimited}}
	{{if eq .RPCStatus "Running"}}
           <p>A temporary error occurred. This can happen due to RPC results being temporarily out of sync.
         {{if .Referer}}<a href="{{ .Referer }}">{{end}}Please re-try your request.{{if .Referer}}</a>{{end}}</p>
         {{end}}
         {{if eq .RPCStatus "Stopped"}}
            <p>The voting service is currently not processing RPC commands so most functionality of the web interface will not work until connections to the RPC server is restored.  <b>Wallets are still online and voting.</b></p>
         {{end}}
         {{end}}
    </div>
    </div>
</div>
{{end}}
